#!/bin/sh

killall -9 envset_proc
rm -f instance/user/aspect_policy.cfg
rm -f instance/user1/aspect_policy.cfg

yes|cp instance/user/aspect_policy.cfg.keyexchange instance/user/aspect_policy.cfg 
yes|cp instance/user1/aspect_policy.cfg.keyexchange instance/user1/aspect_policy.cfg 

sleep 1

sh run_cubetcm.sh exec_def/_crypt_user.def &
sleep 3
sh run_cube.sh exec_def/_login_server.def &
sleep 2
sh run_cube.sh exec_def/_login_user.def login.msg connect.msg &
sleep 2
sh run_cube.sh exec_def/_login_user1.def login.msg connect.msg key_exchange.msg 
